package org.codetranslators.compiler.intermrep;

import java.util.Vector;

public class Jump implements AssemblyInstruction
{
	private String assemCode;
	private String label;
	
	public Jump(String str, String lbl)
	{
		this.assemCode = str;
		this.label = lbl;
	}
	
	public String getAssemCode(boolean showUseDef)
	{
		return assemCode;
	}
	
	public String getLabel()
	{
		return label;
	}
	
	public int getType()
	{
		return AssemblyInstruction.JUMP;
	}
	
	public Vector getSrcList()
	{
		return null;
	}
	
	public Vector getJumps()
	{
		Vector jmpsVector = new Vector();
		jmpsVector.addElement(label);
		return jmpsVector;
	}
	
	public String getLabelStr()
	{
		return null;
	}
	
	public Vector getDestList()
	{
		return null;
	}
	
	public boolean isMove()
	{
		return false;
	}
}
